home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Magazin: Amiga-CD 1996 May & June
/
Amiga-CD 1996 #5-6.iso
/
kommunikation
/
ipdial
/
hangup.ipdial
< prev
next >
Wrap
Text File
|
1996-03-22
|
2KB
|
60 lines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Login script for terminating an AmiTCP/SLIP connection using
; IPDial
;
; Version 1.1, 06.12.1994
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; The line below *must* be present and *must* be the first command
; line in the script. It specifies the device and the protocol to
; use. (Possible protocols are 7WIRE ( =RTSCTS), XONXOFF or NONE.)
; You may omit the protocol, in which case the defaults of the
; serial.device are used.
;
; Be sure, that the parameters you are using in this script are the
; same as used for initializing AmiTCP/IP!
DEVICE serial.device 7WIRE UNIT 0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Certain settings (Note, that these override the respective settings
; of the serial.prefs.)
;
; Possible settings are:
; BAUD Baudrate, integer
; DATABITS number of data bits, integer
; STOPBITS number of stop bits, integer
; BUFSIZE Read buffer size, integer
; PARITY one of NONE, ODD or EVEN
;
; These are scanned with ReadArgs(), thus you can either use the syntax
; set BAUD=38400
; or, if you prefer, this version
; set BAUD 38400
; In the first case, however, it is important, that you omit blanks.
;
set BAUD=38400 DATABITS=8 STOPBITS=1 BUFSIZE=4096
; Possible settings in the following line are:
; NONE EVEN ODD
set PARITY=NONE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; The following string will make the modem listening for commands again.
DELAY 2
SEND +++
; Now tell the modem to disconnect
DELAY 2
SEND ATH0\r
ECHO "Disconnected.\n"
EXIT 0